package com.ruizhong.PIW.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruizhong.PIW.dao.TFaceEquipmentMapper;
import com.ruizhong.PIW.entity.TFaceEquipment;
import com.ruizhong.PIW.service.FaceDeviceService;
import org.springframework.stereotype.Service;

@Service
public class FaceDeviceServiceImpl extends ServiceImpl<TFaceEquipmentMapper, TFaceEquipment> implements FaceDeviceService {
    @Override
    public void addNewDevice() {
        TFaceEquipment tFaceEquipment = new TFaceEquipment();
        tFaceEquipment.setFaceMatch(80);
        save(tFaceEquipment);
    }
}
